using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace Pricom
{
    public partial class NewConnectionForm : Form
    {
        public NewConnectionForm()
        {
            InitializeComponent();
        }

        public string GetNick()
        {
            return nick.Text;
        }

        public string GetServer()
        {
            return server.Text;
        }

        public int GetPort()
        {
            return Convert.ToInt16(port.Text);
        }

        public string GetProxy()
        {
            return proxy.Text;
        }

        public string GetChannel()
        {
            return channel.Text;
        }

        private void button1_Click(object sender, EventArgs e)
        {
            Close();
        }

        private void ok_Click(object sender, EventArgs e)
        {
            Close();
        }
    }
}